package com.ibeeking.found.file.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author MAC
 * @version 1.0
 * @description: CommonFileDO
 * @date 2022/1/12 14:41
 */
@Data
@TableName("common_file")
public class CommonFileDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 文件id
     */
    @TableField(value = "file_id")
    public Long commonFileId;

    /**
     * 用户文件id
     */
    @TableField(value = "user_file_id")
    public Long userFileId;

//    @Column(columnDefinition="int(2) comment '文件权限'")
//    public Integer filePermission;
}
